/* Copyright(C) 2025. Huawei Technologies Co.,Ltd. All rights reserved.
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

/*
Package context.
*/
package context

import (
	"ascend-faultdiag-online/pkg/algo_src/slownode/parse/context/contextdata"
	"ascend-faultdiag-online/pkg/algo_src/slownode/parse/model"
)

// SnpRankContext slow node single Rank parsing context
type SnpRankContext struct {
	// ContextData is the context data for slow node rank parsing
	ContextData *contextdata.SnpRankContextData
	// JsonDataQue is a channel that stores queues of JSON data
	JsonDataQue chan []*model.JsonData
	// InsertSqlQue is a channel that stores queues of INSERT SQL statements
	InsertSqlQue chan string
	// JobId is the identifier of the job
	JobId string
	// RankId is the identifier of the rank
	RankId string
}
